package com.zzyl.entity;

import com.fasterxml.jackson.databind.ser.Serializers;
import com.zzyl.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * Member实体类
 */
@ApiModel(value = "Member", description = "会员信息")
@Data
public class Member extends BaseEntity {


    @ApiModelProperty(value = "手机号", required = true, example = "13800000000")
    private String phone;

    @ApiModelProperty(value = "名称", example = "张三")
    private String name;

    @ApiModelProperty(value = "头像", example = "https://example.com/avatar.jpg")
    private String avatar;

    @ApiModelProperty(value = "OpenID", example = "o1234567890")
    private String openId;

    @ApiModelProperty(value = "性别(0:男，1:女)", example = "0")
    private Integer gender;
}
